package com.hhu.userservice.object.dto;

import lombok.Data;

import java.sql.Date;

@Data
public class TeacherInfo {
    private int id;

    private String userId;

    private String userName;

    private String trueName;

    private String linkTel;

    private String linkEmail;

    private String position;

    private String roleId;

    private Date createTime;
    private Date updateTime;
    private String createUser;
    private String updateUser;

    public boolean isNull() {
        return this.userId == null && this.userName == null;
    }
}
